imageware
Class Builder

java.lang.Object
  extended by imageware.Builder

public class Builder
extends java.lang.Object

Class Builder.


Constructor Summary
Builder()
           
 
Method Summary
static ImageWare create(byte[] object)
          Create a imageware of from an array.
static ImageWare create(byte[][] object)
          Create a imageware of from an array.
static ImageWare create(byte[][][] object)
          Create a imageware of from an array.
static ImageWare create(byte[][][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(byte[][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(byte[] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(double[] object)
          Create a imageware of from an array.
static ImageWare create(double[][] object)
          Create a imageware of from an array.
static ImageWare create(double[][][] object)
          Create a imageware of from an array.
static ImageWare create(double[][][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(double[][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(double[] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(float[] object)
          Create a imageware of from an array.
static ImageWare create(float[][] object)
          Create a imageware of from an array.
static ImageWare create(float[][][] object)
          Create a imageware of from an array.
static ImageWare create(float[][][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(float[][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(float[] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(java.awt.Image image)
          Create a imageware of from an Java AWT Image.
static ImageWare create(java.awt.Image image, int type)
          Create a imageware of a specified type from an Java AWT Image object.
static ImageWare create(ij.ImagePlus imp)
          Create a imageware of from an ImagePlus.
static ImageWare create(ij.ImagePlus imp, int type)
          Create a imageware of a specified type from an ImagePlus object.
static ImageWare create(ij.ImageStack stack)
          Create a imageware of from an ImageStack.
static ImageWare create(ij.ImageStack object, int type)
          Create a imageware of a specified type from an ImageStack object.
static ImageWare create(int nx, int ny, int nz, int type)
          Create an empty imageware of a specified type.
static ImageWare create(short[] object)
          Create a imageware of from an array.
static ImageWare create(short[][] object)
          Create a imageware of from an array.
static ImageWare create(short[][][] object)
          Create a imageware of from an array.
static ImageWare create(short[][][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(short[][] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare create(short[] object, int type)
          Create a imageware of a specified type from an array.
static ImageWare[] createColor(ij.ImagePlus imp, int type)
          Create an array of 3 datasets from an ImagePlus.
static ImageWare[] createColor(ij.ImageStack stack, int type)
          Create an array of 3 imageware from an ColorProcessor.
static ImageWare createColorChannel(ij.ImagePlus imp, byte channel)
          Create a imageware of a specific channel if the ImagePlus is a color image.
static ImageWare createColorChannel(ij.ImagePlus imp, byte channel, int type)
          Create a imageware of a specific channel if the ImagePlus is a color image.
static ImageWare createColorChannel(ij.ImageStack stack, byte channel)
          Create a imageware of a specific channel if the ImageStack is a color image.
static ImageWare createColorChannel(ij.ImageStack stack, byte channel, int type)
          Create a imageware of a specific channel if the ImageStack is a color image.
static ImageWare[] createColors(ij.ImagePlus imp)
          Create an array of 3 datasets from an ImagePlus.
static ImageWare[] createColors(ij.ImageStack stack)
          Create an array of 3 imageware from an ImageStack.
static ImageWare createOnFocus()
          Create a imageware of from the focussed image of ImageJ.
static ImageWare createOnFocus(int type)
          Create a imageware of from the focussed image of ImageJ.
static ImageWare wrap(ij.ImagePlus imp)
          Wrap a imageware around a ImagePlus object.
static ImageWare wrap(ij.ImageStack stack)
          Wrap a imageware around a ImageStack object.
static ImageWare wrapOnFocus()
          Wrap a imageware of from the focussed image of ImageJ.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Builder

public Builder()
Method Detail

wrapOnFocus

public static ImageWare wrapOnFocus()
Wrap a imageware of from the focussed image of ImageJ.

Parameters:
image - an Java AWT Image object
type - type of the imageware

wrap

public static ImageWare wrap(ij.ImagePlus imp)
Wrap a imageware around a ImagePlus object.

Parameters:
imp - an ImagePlus object to wrap

wrap

public static ImageWare wrap(ij.ImageStack stack)
Wrap a imageware around a ImageStack object.

Parameters:
object - an ImageStack object to wrap

create

public static ImageWare create(int nx,
                               int ny,
                               int nz,
                               int type)
Create an empty imageware of a specified type.

Parameters:
nx - size in X axis
ny - size in Y axis
nz - size in Z axis
type - type of the imageware

create

public static ImageWare create(java.awt.Image image)
Create a imageware of from an Java AWT Image.

Parameters:
image - an Java AWT Image object

createOnFocus

public static ImageWare createOnFocus()
Create a imageware of from the focussed image of ImageJ.

Parameters:
image - an Java AWT Image object
type - type of the imageware

create

public static ImageWare create(ij.ImageStack stack)
Create a imageware of from an ImageStack.

Parameters:
stack - an ImageStack object

create

public static ImageWare create(ij.ImagePlus imp)
Create a imageware of from an ImagePlus.

Parameters:
imp - an ImagePlus object

createColors

public static ImageWare[] createColors(ij.ImagePlus imp)
Create an array of 3 datasets from an ImagePlus.

Parameters:
imp - an ImagePlus object

createColors

public static ImageWare[] createColors(ij.ImageStack stack)
Create an array of 3 imageware from an ImageStack.

Parameters:
stack - an ImageStack object

createColorChannel

public static ImageWare createColorChannel(ij.ImagePlus imp,
                                           byte channel)
Create a imageware of a specific channel if the ImagePlus is a color image.

Parameters:
imp - an ImagePlus object

createColorChannel

public static ImageWare createColorChannel(ij.ImageStack stack,
                                           byte channel)
Create a imageware of a specific channel if the ImageStack is a color image.

Parameters:
stack - an ImageStack object

create

public static ImageWare create(byte[] object)
Create a imageware of from an array.

Parameters:
object - byte 1D array

create

public static ImageWare create(short[] object)
Create a imageware of from an array.

Parameters:
object - short 1D array

create

public static ImageWare create(float[] object)
Create a imageware of from an array.

Parameters:
object - float 1D array

create

public static ImageWare create(double[] object)
Create a imageware of from an array.

Parameters:
object - double 1D array

create

public static ImageWare create(byte[][] object)
Create a imageware of from an array.

Parameters:
object - byte 2D array

create

public static ImageWare create(short[][] object)
Create a imageware of from an array.

Parameters:
object - short 2D array

create

public static ImageWare create(float[][] object)
Create a imageware of from an array.

Parameters:
object - float 2D array

create

public static ImageWare create(double[][] object)
Create a imageware of from an array.

Parameters:
object - double 2D array

create

public static ImageWare create(byte[][][] object)
Create a imageware of from an array.

Parameters:
object - byte 3D array

create

public static ImageWare create(short[][][] object)
Create a imageware of from an array.

Parameters:
object - short 3D array

create

public static ImageWare create(float[][][] object)
Create a imageware of from an array.

Parameters:
object - float 3D array

create

public static ImageWare create(double[][][] object)
Create a imageware of from an array.

Parameters:
object - double 3D array

create

public static ImageWare create(java.awt.Image image,
                               int type)
Create a imageware of a specified type from an Java AWT Image object.

Parameters:
image - an Java AWT Image object
type - type of the imageware

createOnFocus

public static ImageWare createOnFocus(int type)
Create a imageware of from the focussed image of ImageJ.

Parameters:
image - an Java AWT Image object
type - type of the imageware

create

public static ImageWare create(ij.ImagePlus imp,
                               int type)
Create a imageware of a specified type from an ImagePlus object.

Parameters:
imp - an ImagePlus object
type - type of the imageware

create

public static ImageWare create(ij.ImageStack object,
                               int type)
Create a imageware of a specified type from an ImageStack object.

Parameters:
object - an ImageStack object
type - type of the imageware

createColor

public static ImageWare[] createColor(ij.ImagePlus imp,
                                      int type)
Create an array of 3 datasets from an ImagePlus.

Parameters:
imp - an ImagePlus object
type - type of the imageware

createColor

public static ImageWare[] createColor(ij.ImageStack stack,
                                      int type)
Create an array of 3 imageware from an ColorProcessor.

Parameters:
stack - an ColorProcessor object
type - type of the imageware

createColorChannel

public static ImageWare createColorChannel(ij.ImagePlus imp,
                                           byte channel,
                                           int type)
Create a imageware of a specific channel if the ImagePlus is a color image.

Parameters:
imp - an ImagePlus object

createColorChannel

public static ImageWare createColorChannel(ij.ImageStack stack,
                                           byte channel,
                                           int type)
Create a imageware of a specific channel if the ImageStack is a color image.

Parameters:
stack - an ImageStack object

create

public static ImageWare create(byte[] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - byte 1D array
type - type of the imageware

create

public static ImageWare create(short[] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - short 1D array
type - type of the imageware

create

public static ImageWare create(float[] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - float 1D array
type - type of the imageware

create

public static ImageWare create(double[] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - double 1D array
type - type of the imageware

create

public static ImageWare create(byte[][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - byte 2D array
type - type of the imageware

create

public static ImageWare create(short[][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - short 2D array
type - type of the imageware

create

public static ImageWare create(float[][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - float 2D array
type - type of the imageware

create

public static ImageWare create(double[][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - double 2D array
type - type of the imageware

create

public static ImageWare create(byte[][][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - byte 3D array
type - type of the imageware

create

public static ImageWare create(short[][][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - short 3D array
type - type of the imageware

create

public static ImageWare create(float[][][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - float 3D array
type - type of the imageware

create

public static ImageWare create(double[][][] object,
                               int type)
Create a imageware of a specified type from an array.

Parameters:
object - double 3D array
type - type of the imageware